﻿<script>
function myfunc() {
  a = 1234;
  var a = a+'abc;';

  alert(a);
}
myfunc();
alert('global <a>: ' + (typeof a));
</script>